package top.someapp.dxf2dsvg.cad;

import com.aspose.cad.fileformats.cad.cadtables.CadBlockTableObject;

import javax.annotation.Nonnull;

/**
 * @author zwz
 * Created on 2020-04-22
 */
public class BlockTable {
    private final CadBlockTableObject blockTableObj;

    BlockTable(@Nonnull CadBlockTableObject blockTableObj) {
        this.blockTableObj = blockTableObj;
    }

    public String getName() {
        return blockTableObj.getBlockName();
    }

    @Override
    public String toString() {
        return "BlockTable{" +
                "name=" + getName() +
                '}';
    }
}
